#ifndef __CONTROLLER_H_
#define __CONTROLLER_H_

#include "main.h"

#define ON 1
#define OFF 0

#define UART_Contrl 0
#define Track_Contrl 1
#define MPU_Contrl 2

extern volatile uint8_t Flag_ExmNum;    //比赛题目标志位
extern volatile uint8_t Contrl_Flag;
extern volatile uint8_t CReset_Flag;
extern volatile  float YAW_Data;

void vMPU_Calibration(void);
void vMPU_Contrl(void);

void vBuzzer_Contrl(uint8_t State);

#endif


